package com.core.zyyz.amc.modules.domain;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;

public class AmcSystemMainlistJSON implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主页配置id
     */
    private String mainlistId;

    /**
     * 业务节点
     */
    private String baseBusinessNode;

    /**
     * 控件标题
     */
    private String mainlistLabel;

    /**
     * 表名
     */
    private String mainlistTable;

    /**
     * 控件name
     */
    private String mainlistName;

    /**
     * 控件类型
     */
    private String mainlistType;

    /**
     * 所用系统字典
     */
    private String mainlistDict;

    /**
     * 是否必填
     */
    private String mainlistIsvalid;

    /**
     * 排序
     */
    private Integer mainlistNum;

    /**
     * 后台接口地址
     */
    private String mainlistUrl;

    /**
     * 额外校验
     */
    private String mainlistMorevalid;

    /**
     * 是否作为条件（0-否，1-是）
     */
    private String mainlistIscondition;

    /**
     * 条件类型（amc,conditionType）
     */
    private String mainlistCondition;

    /**
     * 国际化编号
     */
    private String i18nKey;
    /**
     * 其他属性
     */
    private JSONObject otherAttr;
    /**
     * 是否合并（Excel合并单元格）
     */
    private String mainlistMerger;

    /**
     * 联动属性
     */
    private JSONArray eventsAttr;

    public String getMainlistTable() {
        return mainlistTable;
    }

    public void setMainlistTable(String mainlistTable) {
        this.mainlistTable = mainlistTable;
    }

    public String getMainlistId() {
        return mainlistId;
    }

    public void setMainlistId(String mainlistId) {
        this.mainlistId = mainlistId;
    }
    public String getBaseBusinessNode() {
        return baseBusinessNode;
    }

    public void setBaseBusinessNode(String baseBusinessNode) {
        this.baseBusinessNode = baseBusinessNode;
    }
    public String getMainlistLabel() {
        return mainlistLabel;
    }

    public void setMainlistLabel(String mainlistLabel) {
        this.mainlistLabel = mainlistLabel;
    }
    public String getMainlistName() {
        return mainlistName;
    }

    public void setMainlistName(String mainlistName) {
        this.mainlistName = mainlistName;
    }
    public String getMainlistType() {
        return mainlistType;
    }

    public void setMainlistType(String mainlistType) {
        this.mainlistType = mainlistType;
    }
    public String getMainlistDict() {
        return mainlistDict;
    }

    public void setMainlistDict(String mainlistDict) {
        this.mainlistDict = mainlistDict;
    }
    public String getMainlistIsvalid() {
        return mainlistIsvalid;
    }

    public void setMainlistIsvalid(String mainlistIsvalid) {
        this.mainlistIsvalid = mainlistIsvalid;
    }
    public Integer getMainlistNum() {
        return mainlistNum;
    }

    public void setMainlistNum(Integer mainlistNum) {
        this.mainlistNum = mainlistNum;
    }
    public String getMainlistUrl() {
        return mainlistUrl;
    }

    public void setMainlistUrl(String mainlistUrl) {
        this.mainlistUrl = mainlistUrl;
    }
    public String getMainlistMorevalid() {
        return mainlistMorevalid;
    }

    public void setMainlistMorevalid(String mainlistMorevalid) {
        this.mainlistMorevalid = mainlistMorevalid;
    }
    public String getMainlistIscondition() {
        return mainlistIscondition;
    }

    public void setMainlistIscondition(String mainlistIscondition) {
        this.mainlistIscondition = mainlistIscondition;
    }
    public String getMainlistCondition() {
        return mainlistCondition;
    }

    public void setMainlistCondition(String mainlistCondition) {
        this.mainlistCondition = mainlistCondition;
    }

    public String getI18nKey() {
        return i18nKey;
    }

    public void setI18nKey(String i18nKey) {
        this.i18nKey = i18nKey;
    }

    public JSONObject getOtherAttr() {
        return otherAttr;
    }

    public void setOtherAttr(JSONObject otherAttr) {
        this.otherAttr = otherAttr;
    }

    public JSONArray getEventsAttr() {
        return eventsAttr;
    }

    public void setEventsAttr(JSONArray eventsAttr) {
        this.eventsAttr = eventsAttr;
    }

    public void setMainlistMerger(String mainlistMerger) {
        this.mainlistMerger = mainlistMerger;
    }
    public String getMainlistMerger() {
        return mainlistMerger;
    }
    @Override
    public String toString() {
        return "AmcSystemMainlistJSON{" +
                "mainlistId='" + mainlistId + '\'' +
                ", baseBusinessNode='" + baseBusinessNode + '\'' +
                ", mainlistLabel='" + mainlistLabel + '\'' +
                ", mainlistName='" + mainlistName + '\'' +
                ", mainlistType='" + mainlistType + '\'' +
                ", mainlistDict='" + mainlistDict + '\'' +
                ", mainlistIsvalid='" + mainlistIsvalid + '\'' +
                ", mainlistNum=" + mainlistNum +
                ", mainlistUrl='" + mainlistUrl + '\'' +
                ", mainlistMorevalid='" + mainlistMorevalid + '\'' +
                ", mainlistIscondition='" + mainlistIscondition + '\'' +
                ", mainlistCondition='" + mainlistCondition + '\'' +
                ", i18nKey='" + i18nKey + '\'' +
                ", otherAttr=" + otherAttr +
                ", eventsAttr=" + eventsAttr +
                ", mainlistMerger='" + mainlistMerger + '\'' +
                '}';
    }
}
